package com.petshop.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @TableName cart_items
 */
@TableName(value = "cart_items")
@Data
public class CartItems {
    @TableId(value = "cart_id", type = IdType.AUTO)
    private Integer cartId;

    private Integer userId;

    private Integer productId;

    private Integer quantity;

    private String cartImage;

    private Date createdAt;

    private String productName;

    private String productCategory;

    private BigDecimal productPrice;
}